package org.mzyyn.qr.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户
 * </p>
 *
 * @author lipeng
 * @since 2024-06-12
 */
@Getter
@Setter
@TableName("t_user")
public class UserPO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String username;

    private String uuid;
    /**
     * 真实姓名
     */
    private String realname;

    /**
     * 手机号码
     */
    private String phone;

    /**
     * unionid
     */
    private String unionid;


    /**
     * h5_openid
     */
    private String h5Openid;

    /**
     * openid
     */
    private String qqOpenid;

    /**
     * 微信的openid
     */
    private String wxOpenid;

    /**
     * 头像
     */
    private String avatar;

    /**
     * 积分
     */
    private Integer integral;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 删除标识位: 0正常 1删除
     */
    private Boolean deleted;

    /**
     * 0无 1有授权按钮
     */
    private Integer authFlag;
}
